crypto/tls.SessionState.peerCertificates (field)
18 uses
crypto/tls (current package)
handshake_client.go#L430: if c.config.time().After(session.peerCertificates[0].NotAfter) {
handshake_client.go#L440: if err := session.peerCertificates[0].VerifyHostname(c.config.ServerName); err != nil {
handshake_client.go#L921: c.peerCertificates = hs.session.peerCertificates
handshake_client_tls13.go#L473: c.peerCertificates = hs.session.peerCertificates
handshake_server.go#L481: sessionHasClientCerts := len(sessionState.peerCertificates) != 0
handshake_server.go#L489: if sessionHasClientCerts && c.config.time().After(sessionState.peerCertificates[0].NotAfter) {
handshake_server.go#L507: c.peerCertificates = sessionState.peerCertificates
handshake_server_tls13.go#L364: sessionHasClientCerts := len(sessionState.peerCertificates) != 0
handshake_server_tls13.go#L372: if sessionHasClientCerts && c.config.time().After(sessionState.peerCertificates[0].NotAfter) {
handshake_server_tls13.go#L420: c.peerCertificates = sessionState.peerCertificates
ticket.go#L89: peerCertificates []*x509.Certificate
ticket.go#L139: Certificate: certificatesToBytesSlice(s.peerCertificates),
ticket.go#L230: ss.peerCertificates = append(ss.peerCertificates, c.cert)
ticket.go#L244: if len(ss.peerCertificates) == 0 {
ticket.go#L247: chain = append(chain, ss.peerCertificates[0])
ticket.go#L276: if len(ss.peerCertificates) == 0 {
ticket.go#L299: peerCertificates: c.peerCertificates,
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |